/**
 * 
 */
package org.cuatrovientos.hellokitti;

/**
 * @author carlos_ruiz
 *
 */
public class Food {
		
		protected String name;
		protected float weight;
		
		//source, fields
		/**
		 * @param name
		 * @param weight
		 */
		public Food(String name, float weight) { 
			this.name = name;
			this.weight = weight;
		}
		
		//source, getters and setters
		/**
		 * @return the name 
		 */
		public String getName() {
			return name;
		}
		
		/**
		 * @param name the name to set
		 */
		public void setName(String name) {
			this.name = name;
		}
		
		/**
		 * @return the weight
		 */
		public float getWeight() {
			return weight;
		}
		
		/**
		 * @param weight the weight to set
		 */
		public void setWeight(float weight) {
			this.weight = weight;
		}

		//source, toString
		/* (non-Javadoc)
		 * @see java.lang.Object#toString()
		 */
		@Override
		public String toString() {
			return "food [name=" + name + ", weight=" + weight + "]";
		}
		
}
